package c.e.a.c.o;

import android.view.ViewTreeObserver.OnPreDrawListener;

/* compiled from: FloatingActionButtonImpl */
public class g implements OnPreDrawListener {
    public final /* synthetic */ e a;

    public g(e eVar) {
        this.a = eVar;
    }

    public boolean onPreDraw() {
        e eVar = this.a;
        float rotation = eVar.y.getRotation();
        if (eVar.r != rotation) {
            eVar.r = rotation;
            eVar.v();
        }
        return true;
    }
}
